<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<video id="videoElement" style="width: 80%;" controls="controls"></video>
<script src="./flv.js"></script>
<script>
    if (flvjs.isSupported()) {
        var videoElement = document.getElementById('videoElement');
        var flvPlayer = flvjs.createPlayer({
            type: 'flv',
            isLive: true,
            hasAudio: false,
            url:'http://flv.bdplay.nodemedia.cn/live/bbb.flv',
            // url:'ws://8.142.19.151:6010/jessica/1466683953296576512.flv',
            // url:'https://8.142.19.151:6010/hdl/1466683953296576512.flv'
        });
        videoElement.muted = true;
        flvPlayer.attachMediaElement(videoElement);
        flvPlayer.load();
        flvPlayer.play();
    }
</script>
</body>
</html>
